package com.rtp.transformer.fin.client;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class Solutions extends Sink {
	 public static SinkInfo init() {
		    return new SinkInfo("Solutions", "<h2>Introduction to the solution function</h2>" +
		            "<p>This is the Demo.  "
		        + "It demonstrates all of solutions via system.</p>"		       
		       ) {

		      public Sink createInstance() {
		        return new Solutions();
		      }
		    };
		  }

		  public Solutions() {

		  	final VerticalPanel solutions = new VerticalPanel();
		  	initWidget(solutions);
		  	solutions.setWidth("100%");
		  	final TabPanel tabPanel = new TabPanel();
		  	solutions.add(tabPanel);
		  	tabPanel.setWidth("100%");

		  	final VerticalPanel verticalPanel = new VerticalPanel();
		  	tabPanel.add(verticalPanel, "Foreign Stock");

		   
		  	final VerticalPanel verticalPanel_1 = new VerticalPanel();
		  	tabPanel.add(verticalPanel_1, "Local Stock");
 
		  	final VerticalPanel verticalPanel_2 = new VerticalPanel();
		  	tabPanel.add(verticalPanel_2, "Overseas Stock");

		  
		  	final VerticalPanel verticalPanel_3 = new VerticalPanel();
		  	tabPanel.add(verticalPanel_3, "Vendors");

		   
		  	tabPanel.selectTab(0);
		  }

		  public void onShow() {
		  }
}
